package com.nuanshui.heatedloan.baseservice.service;

import com.nuanshui.heatedloan.baseservice.dal.mapper.ProvinceMapper;
import com.nuanshui.heatedloan.baseservice.facade.ProvinceService;
import com.nuanshui.heatedloan.baseservice.vo.ProvinceVO;
import com.nuanshui.heatedloan.constant.ServiceConstant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: Gonzo
 * @Date 2017/3/28下午1:09
 * @since 1.4.2
 */
@Service(ServiceConstant.PROVINCESERVICE)
public class ProvinceServiceImpl implements ProvinceService {

    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<ProvinceVO> listAllProvince(){
       return provinceMapper.listAllProvince();
    }
}
